package eco.footprint;

public class Category {
	String mCategoryID = "";
	double mEnergyLand = 0.0;
	double mCropLand = 0.0;
	double mPasture = 0.0;
	double mForest = 0.0;
	double mBuiltArea = 0.0;
	double mFishingGrounds = 0.0;

	double getTotal() {
		return mEnergyLand + mCropLand + mPasture + mForest + mBuiltArea
				+ mFishingGrounds;
	}

	public Category clone() {
		Category result = new Category();
		result.mCategoryID = mCategoryID;
		result.mEnergyLand = mEnergyLand;
		result.mCropLand = mCropLand;
		result.mPasture = mPasture;
		result.mForest = mForest;
		result.mBuiltArea = mBuiltArea;
		result.mFishingGrounds = mFishingGrounds;		
		return result;
	}

}
